#include "stdafx.h"
#include "Emulator.h"

namespace ModelExamples {


    Emulator::Emulator(System::String^ strCabPath)
    {
    }

    void Emulator::Start(double dblStartTimeInSecond)
    {
      _startTimeInSecond  = dblStartTimeInSecond;
      _curTimeInSecond = _startTimeInSecond;
    }

    void Emulator::Run(double dblCurrentTimeInSecond)
    {
      double delta = dblCurrentTimeInSecond - _curTimeInSecond;
      if(delta < 0.1) return;


      _curTimeInSecond = dblCurrentTimeInSecond;
    }
}